<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
    <channel>
        <title>{$smarty.const.DOMAIN} - Offline</title>
        <link>{$smarty.const.HOST_VFRIEND}</link>
        <description>{$smarty.const.DOMAIN_WEB} - Các sự kiện giao lưu kết bạn do thành viên trên cộng đồng đăng tải trong ngày {$smarty.now|date_format:"%d/%m/%Y"}.</description>
        <language>en-us</language>
        <copyright>Copyright (C) 2012 {$smarty.const.DOMAIN}</copyright>
        {if $arrResult}
        	{foreach item=item from=$arrResult}
                <item>
                    <title><![CDATA[{$item.title}]]></title>
                    <description>
                    	<![CDATA[
                       	 	<table cellpadding="5" cellspacing="5" border="0" width="100%">
                                <tr>
                                    <td width="50"><a href="{vfriend_username userid=$item.userid viewid=0}">{image userid=$item.userid viewid=0 type=1 small=2}</a></td>
                                    <td>
                                    	<p>
                                        <strong><a href="{vfriend_username userid=$item.userid viewid=$AppUI->id}">{$item.userid|ouser}</a></strong>{if $smarty.const.FUNCTION_OFFLINE_EXPIRE}<span class="gray"> - {offline_rating userid=$item.userid}</span>{/if}</p>
                                       	<p>{if $item.province_name}<strong>{$item.province_name}</strong> - {/if}<a href="{link_offline_detail id=$item.offlineid title=$item.title|escape}" title="{$item.title|escape}">{$item.title}</a></p>
                                    </td>
                                    <td width="35"><a href="{link_offline_category id=$item.categoryid title=$item.category_name|escape}" title="Off {$item.category_name|escape}"><img src="{$smarty.const.HOST_IMG}category/{$item.icon}" alt="{$item.category_name}" border="0" width="35" height="35" /></a></td>
                                </tr>
                            </table>
                        ]]>
                  	</description>
                    <link><![CDATA[{link_offline_detail id=$item.offlineid title=$item.title|escape}]]></link>
                    <pubDate><![CDATA[{$item.postdate|date_format:"%A, %d %B %Y %H:%M:%S"} +0000]]></pubDate>
                </item>
            {/foreach}
        {/if} 
    </channel>
</rss>